package com.vm.entity;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;


/**
 * MessageBoard entity. @author MyEclipse Persistence Tools
 */

public class MessageBoard  implements java.io.Serializable {


    // Fields    

     private Integer lbId;
     private MessageType messageType;
     private Integer userId;
     private String userName; 
	 private Timestamp lbSj;
     private String lbLr;
     private List<MessageReply> messageReplies = new ArrayList<MessageReply>();


    // Constructors
	/** default constructor */
    public MessageBoard() {
    }

    
    /** full constructor */
    public MessageBoard(MessageType messageType, Integer userId,String userName, Timestamp lbSj, String lbLr, List<MessageReply> messageReplies) {
        this.messageType = messageType;
        this.userId = userId;
        this.userName = userName;
        this.lbSj = lbSj;
        this.lbLr = lbLr;
        this.messageReplies = messageReplies;
    }

   
    // Property accessors

    public Integer getLbId() {
        return this.lbId;
    }
    
    public void setLbId(Integer lbId) {
        this.lbId = lbId;
    }

    public MessageType getMessageType() {
		return messageType;
	}


	public void setMessageType(MessageType messageType) {
		this.messageType = messageType;
	}

	public Timestamp getLbSj() {
        return this.lbSj;
    }
    
    public void setLbSj(Timestamp lbSj) {
        this.lbSj = lbSj;
    }

    public String getLbLr() {
        return this.lbLr;
    }
    
    public void setLbLr(String lbLr) {
        this.lbLr = lbLr;
    }
    
    public Integer getUserId() {
		return userId;
	}


	public void setUserId(Integer userId) {
		this.userId = userId;
	}


	public String getUserName() {
		return userName;
	}


	public void setUserName(String userName) {
		this.userName = userName;
	}

	public List<MessageReply> getMessageReplies() {
		return messageReplies;
	}


	public void setMessageReplies(List<MessageReply> messageReplies) {
		this.messageReplies = messageReplies;
	}







}